package com.example.score.mapper;

import com.example.score.entity.TUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    TUser getTUserByUsername(String username) ;
    TUser getUserById(Integer id);
    List<TUser> getList();
    int inserts(List<TUser> list);
    int insertsauthority(List<TUser> list);

    int register(TUser list);
    int registAuthority(TUser list);

    Integer logout(List<Integer> list);
    Integer logout2(List<Integer> list);
}
